package com.dailyblue.project.estate.owner.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dailyblue.project.estate.commons.bean.Owner;
import com.dailyblue.project.estate.commons.bean.Parking;
import com.dailyblue.project.estate.commons.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface OwnerService extends IService<Owner> {
    //添加拥有者
    JsonResult addOwner(Owner owner);
    //查询一个拥有者
    JsonResult findOwnerById(String id);
    //查询所有拥有者
    JsonResult findAllOwners();
    //删除拥有者
    JsonResult deleteOwner(String id);
    //修改拥有者
    JsonResult updateOwner(Owner owner);
}
